<!DOCTYPE html>
<html>
  <head>
    <title>我的家教</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link href="resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet"/>
    <link href="resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
    <link href="data/styles.css" type="text/css" rel="stylesheet"/>
    <link href="files/我的家教/styles.css" type="text/css" rel="stylesheet"/>
    <script src="resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <script src="resources/scripts/prototypePre.js"></script>
    <script src="data/document.js"></script>
    <script src="resources/scripts/prototypePost.js"></script>
    <script src="files/我的家教/data.js"></script>
    <script type="text/javascript">
      $axure.utils.getTransparentGifPath = function() { return 'resources/images/transparent.gif'; };
      $axure.utils.getOtherPath = function() { return 'resources/Other.html'; };
      $axure.utils.getReloadPath = function() { return 'resources/reload.html'; };
    </script>
  </head>
  <body>
    <div id="base" class="">

      <!-- Unnamed (矩形) -->
      <div id="u81" class="ax_default _一级标题">
        <div id="u81_div" class=""></div>
        <div id="u81_text" class="text ">
          <p><span>我的家教</span></p>
        </div>
      </div>

      <!-- Unnamed (形状) -->
      <div id="u82" class="ax_default icon">
        <img id="u82_img" class="img " src="images/所有家教/u27.png"/>
      </div>

      <!-- Unnamed (水平线) -->
      <div id="u83" class="ax_default line">
        <img id="u83_img" class="img " src="images/主页/u23.png"/>
      </div>

      <!-- 导航栏 (组 合) -->
      <div id="u84" class="ax_default" data-label="导航栏" data-left="0" data-top="1951" data-width="980" data-height="171">

        <!-- Unnamed (形状) -->
        <div id="u85" class="ax_default icon">
          <img id="u85_img" class="img " src="images/主页/u18.png"/>
        </div>

        <!-- Unnamed (形状) -->
        <div id="u86" class="ax_default icon">
          <img id="u86_img" class="img " src="images/主页/u19.png"/>
        </div>

        <!-- Unnamed (形状) -->
        <div id="u87" class="ax_default icon">
          <img id="u87_img" class="img " src="images/所有家教/u55.png"/>
        </div>

        <!-- Unnamed (形状) -->
        <div id="u88" class="ax_default icon">
          <img id="u88_img" class="img " src="images/主页/u21.png"/>
        </div>

        <!-- Unnamed (形状) -->
        <div id="u89" class="ax_default icon">
          <img id="u89_img" class="img " src="images/我的家教/u89.png"/>
        </div>

        <!-- Unnamed (水平线) -->
        <div id="u90" class="ax_default line">
          <img id="u90_img" class="img " src="images/主页/u23.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u91" class="ax_default box_1">
          <div id="u91_div" class=""></div>
        </div>
      </div>

      <!-- 全部家教内容 (动态面板) -->
      <div id="u92" class="ax_default" data-label="全部家教内容">
        <div id="u92_state0" class="panel_state" data-label="State1" style="">
          <div id="u92_state0_content" class="panel_state_content">

            <!-- Unnamed (矩形) -->
            <div id="u93" class="ax_default label">
              <div id="u93_div" class=""></div>
              <div id="u93_text" class="text ">
               <table>
               	<?php require("../../../conn/conn.php");
				//读取配置文件id信息	
				$fp = fopen("../../../config/user_id.txt",'r');
				$id = fgets($fp);
				fclose($fp);
				
               	$sql = "select * from work_info where stu_id = $id";
               	$result = mysqli_query($conn,$sql);
               	
               	$work_info = array();
               	while($row = mysqli_fetch_assoc($result)){
               		$work_info[] = $row;
               	}
               	foreach($work_info as $row){ 
               		if($row['stu_id']){?>
            		<a style=" text-decoration: none;" href="index.html"><div style="width: 800px;">
            			<p style="float: right;" style="font-size: 50px;"><?= $row['work_price']; ?>元/天</p>
            			<h1 align="left"><?=  $row['work_name']; ?></h1>
            			<p ><?= $row['work_place']; ?></p>	
            		</div></a>
               	<?php }} ?>
               </table>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
